package com.example.flower_shop.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.flower_shop.entity.StoreProduct;
import com.example.flower_shop.vo.product.UniPageVO;
import com.example.flower_shop.vo.product.UsrProductPageResp;
import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zbxComputer
 * @description 针对表【sys_store_product(商品表)】的数据库操作Mapper
 * @createDate 2024-11-21 12:49:18
 * @Entity com.example.flower_shop.entity.StoreProduct
 */
public interface StoreProductMapper extends MPJBaseMapper<StoreProduct> {

    IPage<UsrProductPageResp> usrProductPage(Page<?> page, @Param("req") UniPageVO req);

    List<UsrProductPageResp> guessYouLike();
}




